package constant
//订单
const (
	DEAL_STATE_INIT = 0
	DEAL_STATE_PAYING = 1
	DEAL_STATE_FINISH = 2
	DEAL_STATE_OVERDUE = 3

	DEAL_REFUND_INIT = 0
	DEAL_REFUND_ING = 1 //退保中
	DEAL_REFUND_FINISH = 2
	DEAL_REFUND_FAIL = 3

	PAY_STATE_SUCCESS = 1
	PAY_STATE_FAIL = 2

	PAY_TYPE_WX = 1
	PAY_TYPE_ALI = 2
	PAY_TYPE_BANK = 3

)
//收入
const (
	INCOME_STATE_INIT = 1
	INCOME_STATE_SETTLE = 2
	INCOME_STATE_INVALID = 3
)